package com.notecalendar.bo;

import java.util.List;

import com.notecalendar.model.Notes;

/**
 * Business object to work with Notes 
 * @author angelcereijo
 *
 */
public interface NotesBo {
	/**
	 * Call dao object to find all Notes from database
	 * @return list of notes
	 */
	List<Notes> getNotes();
	
	/**
	 * Call dao object to insert a new object into database
	 * @param note
	 */
	void insertNote(Notes note);
	
	/**
	 * Call dao object to delete a note from database
	 * @param note
	 */
	void deleteNote(Notes note);
	
}
